//
//  ImageUploadUtil.h
//  deerkids
//
//  Created by 王昭的Mac Air on 2017/10/19.
//  Copyright © 2017年 wangzhao. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger,OssUploadType){
    OssUploadTypeImage,
    OssUploadTypeVideo
};


@interface ImageUploadUtil : NSObject

+(void)updateImage:(NSData *) data type:(NSString *)nav_type callback:(void (^)(NSString *imageurl,NSDictionary *videoDict,NSString *message))callback;


+(void)uploadImage:(NSData *) data param:(NSDictionary *)params callback:(void (^)(NSString *imageurl,NSDictionary *videoDict,NSString *message))callback;


+(void)uploadImage:(NSData *) data api:(NSString *)api param:(NSDictionary *)params callback:(void (^)(NSString *imageurl,NSDictionary *videoDict,NSString *message))callback;


@end

